package com.example.demo.mapper;

import com.example.demo.pojo.Teacher;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
@Repository
public interface TeacherMapper {
    List<Teacher> queryTeacher();

    int addTeacher(String teacher_name,int teacher_number,String teacher_sex,int teacher_age);
    int updateTeacher(Teacher teacher);
    int deleteTeacher(int id);
}
